doctype 5
html
    head
        block vars
        include ../mixins/main
        
        link(rel='stylesheet', href='/components/bootstrap/css/bootstrap.min.css', type='text/css')
        link(rel='stylesheet', href='/css/main.min.css', type='text/css')
    body
        div.navbar
            div.navbar-inner
                a.brand(href="/")
                    img.nm_logoTop(src="/img/logo.png")
                
                ul.nav
                    +genLink("Overview", "/")
                    +genLink("Machines", "/machines")
                    +genLink("Users", "/users")
                    +genLink("Logs", "/logs")
                        
                ul.nav.pull-right
                    li.dropdown
                      a(href="#" data-toggle="dropdown").dropdown-toggle
                        | #{user.username}
                        b.caret
                        
                      ul.dropdown-menu
                        li
                            a(href="#") Settings
                        li.divider
                        li
                            a(href="/logout") Logout
        
        div.container
            block content
        
        script(type='text/javascript' src='/components/jquery/jquery.min.js')
        script(type='text/javascript' src='/components/bootstrap/js/bootstrap.min.js')